Typo fix in gbser_posix.c
authorrobertl <robertl>
Tue, 3 Jul 2007 16:37:08 +0000 (16:37 +0000)
committerrobertl <robertl>
Tue, 3 Jul 2007 16:37:08 +0000 (16:37 +0000)
gbser_posix.c

index 689386ffebf6f0db4a2a7b8baa53ed2356e49233..c2c6cab3c663f42bfdac14c180dbc899dd554df3 100644 (file)
@@ -117,7 +117,7 @@ void *gbser_init(const char *port_name) {
        h->magic = MYMAGIC;
        h->vmin = h->vtime = 0;
 
-       if (0 == strcmp(port_name, "-") {
+       if (0 == strcmp(port_name, "-")) {
                h->fd = 0;
                return h;
        }